﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BS.Domain.traceability
{
    /// <summary>
    /// 溯源表
    /// </summary>
    public class traceabilitable:Audit
    {
        [Key]
        public int TrId { get; set; }
        /// <summary>
        /// 商品外键
        /// </summary>
        public int GoodsId { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string Productionbatches { get; set; } = string.Empty;
        /// <summary>
        /// 保质期（天）
        /// </summary>
        public int ShelflifeDay { get; set; }
        /// <summary>
        /// 生产许可证
        /// </summary>
        public string Productionlicense { get; set; }= string.Empty;
        /// <summary>
        /// 生产企业
        /// </summary>
        public string ProductionCompany { get; set;} = string.Empty;
        /// <summary>
        /// 封面图
        /// </summary>
        public string Coverimage {  get; set; } = string.Empty;
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDeleted { get; set; } = false;
    }
}
